package com.tsystems.dao;

import javax.persistence.EntityManager;
import javax.persistence.Persistence;

public class TrainsEntityManager {
	private static final EntityManager entityManager = Persistence
			.createEntityManagerFactory("trains_manager").createEntityManager();

	private TrainsEntityManager(){
		
	}
	public static EntityManager getInstance() {
		return entityManager;
	}
}
